package com.youpingou.client;

import com.youpingou.domain.User;
import com.youpingou.vo.BaseResult;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;

/**
 * @auther Created by yuanxinqi
 */
@Component
public class UserClientFallback implements UserClient {

    @Override
    public User findUserByMobile(String mobile, String password) {
        User user = new User();
        user.setId(-100);

        return user;
    }
}